From: Zeeshan Ali (Khattak) Date: Thu, 3 Mar 2016 18:57:02 +0000 (+0000) Subject: location: Replace description w/ privacy note X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~1013^2^2~939 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=64741e41df564640bc98caa583f2b28dc1dd3219;p=gnome-shell.git location: Replace description w/ privacy note https://bugzilla.gnome.org/show_bug.cgi?id=762480 --- diff --git a/js/ui/status/location.js b/js/ui/status/location.js index 00c1f42fa..16976362a 100644 --- a/js/ui/status/location.js +++ b/js/ui/status/location.js @@ -417,12 +417,12 @@ const GeolocationDialog = new Lang.Class({ this._title = new St.Label({ style_class: 'geolocation-dialog-title headline' }); messageBox.add_actor(this._title); - this._desc = new St.Label(); - messageBox.add_actor(this._desc); - this._reason = new St.Label(); messageBox.add_actor(this._reason); + this._privacyNote = new St.Label(); + messageBox.add_actor(this._privacyNote); + let button = this.addButton({ label: _("Deny Access"), action: Lang.bind(this, this._onDenyClicked), key: Clutter.KEY_Escape }); @@ -434,8 +434,7 @@ const GeolocationDialog = new Lang.Class({ /* Translators: %s is an application name */ this._title.text = _("Give %s access to your location?").format(name); - /* Translators: %s is an application name */ - this._desc.text = _("%s is requesting access to your location.").format(name); + this._privacyNote.text = _("Location access can be changed at any time from the privacy settings."); if (reason) this._reason.text = reason;